package com.mch;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

@SuppressWarnings("unused")
public class Student {

	
//	private static Logger log = Logger.getLogger(Student.class);

	private static Logger log1 = Logger.getLogger("stulog1");
	private static Logger log2 = Logger.getLogger("stulog2");
	
	public static void main(String[] args) {
		
		System.setProperty("mch.test", "D:/Users");
		
		
		PropertyConfigurator.configure(Student.class.getResource("/log4j.properties"));

		new Student().out();
	}
	
	public void out(){
		log1.debug("AAAAAAAA");
		log2.debug("BBBBBBBB");
//		log.debug("AAAAAAAA");
//		log.debug("BBBBBBBB");
	}
}
